* {
    margin: 0;
    padding: 0;
}
ul li {
    list-style: none;
}
img{
    display: block;
    width: 100%;
    height: 100%;
}
body{
    background-color: #F4F4F4;
}
.header {
    background-color: #ffffff;
    width: 1190px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    margin-bottom: 10px;
    .header-item {
        cursor: pointer;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #000000;
        border-right:2px solid;
        border-image: linear-gradient(rgba(255,255,255,0),#dfdfdf 50%,rgba(255,255,255,0)) 0 1;
        &:last-child{
            border-right: none;
        }
        .header-item-first {
            text-align: center;
            width: 80px;
            height: 27px;
            line-height: 27px;
            border-radius: 50px;
            font-size: 16px;
            font-weight: bold;
        }
        .header-item-sec {
            text-align: center;
            font-size: 14px;
            color: #999999;
        }
        &:hover {
            color: #c81623;

            .header-item-sec {
                color: #c81623;
            }
        }
        &.active {
            .header-item-first{
                background-color: #e1251b; //active
                color: white;
            }
            .header-item-sec{
                color: #e1251b;
            }
        }
    }
}
.content{
    width: 1190px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    // justify-content: space-between;
    .content-item{
        cursor: pointer;
        background-color: #ffffff;
        width: 230px;
        height: 322px;
        font-size: 14px;
        color: #666666;
        margin: 5px;
        .content-item-img{
            width: 150px;
            height: 150px;
            margin: 30px 40px 40px 40px;
        }
        .introduce{
            position: relative;
            // width: 190px;
            height: 48px;
            line-height: 24px;
            overflow: hidden;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            text-indent: 40px;
            box-sizing: border-box;
            padding: 0 20px;
            .proprietary{
                position: absolute;
                display: inline-block;
                text-align: center;
                line-height: 16px;
                width: 34px;
                height: 16px;
                margin-left: 4px;
                background-color: #e1251b;
                left: 20px;
                top: 4px;
                text-indent: 0;
                font-size: 12px;
                color: #ffffff;
                border-radius: 4px;
            }
        }
        .content-item-footer{
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            padding: 0 20px;
            margin-top: 10px;
            .price{
                width: 75px;
                color: #e1251b;
                font-weight: bold;
                >span{
                    font-size: 20px;
                }
            }
            .content-item-footer-right{
                display: flex;
                justify-content: space-around;
                align-items: center;
                .little-img{
                    width: 39px;
                    height: 12px;
                }
                .full-reduction{
                    color: #e1251b;
                    margin-left: 2px;
                }
            }
        }
    }
    .ma-left{
        margin-left: 0;
    }
    .ma-right{
        margin-right: 0;
    }
}